MailPoet\API\JSON\v1\DynamicSegments A

Total Complexity 54
Dependencies 16
Dependents 2
Total lines 291
Lines of code 225
Logical lines of code 127
Comment lines 11
Methods 13
Properties 9

Methods 13

Method Rating Maintainability Complexity Lines of code
getErrorString()
B
47 17 35
save()
S
54 6 20
bulkAction()
S
54 5 20
trash()
S
54 4 22
getErrorMessagesForSegmentsUsedInActiveNewsletters()
S
57 4 17
duplicate()
S
55 3 20
restore()
S
56 3 18
get()
S
58 3 16
delete()
S
58 3 15
getCount()
S
61 2 13
getSegment()
S
72 2 5
listing()
S
59 1 14
__construct()
S
64 1 10